package com.study.customer.controller.clients;

import com.study.customer.controller.dto.ChatDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("chat-service")
public interface ChatClient {
    @PostMapping("/chat")
    public String Chat(@RequestBody ChatDto chatDto);
}
